]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: Make drawing arrow background optional
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 12 Feb 2022 15:58:06 +0000 (16:58 +0100)
committerSam Hewitt <sam@snwh.org>
Mon, 14 Feb 2022 15:22:58 +0000 (11:52 -0330)
commit514558409c4ec2a4ee643dc6bb1b8125167c9d16
treedd189b2f5c9540eee938573e45c7019f86dec19e
parent738f9c3b04e210be652d0c2f5b54a771f4a0e240
boxpointer: Make drawing arrow background optional

We currently use get_color(), which assumes the color exists in the
stylesheet (and prints a warning if it doesn't).

Switch to lookup_color() and skip filling the background if no
such colors exits.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2172>
js/ui/boxpointer.js